export default {
    state: {
        userInfo: localStorage.getItem('userInfo') && JSON.parse(localStorage.getItem('userInfo')) || null
    },
    getters: {

    },
    mutations: {
        setUserInfo(state, info) {
            state.userInfo = info
        }
    },
    actions: {

    }
}